package com.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.entity.Team;
import com.entity.User;

import java.util.List;


public interface TeamService extends IService<Team> {
    //向班级添加成员
    public Team addMember(Long teamId,Long userId);

    //向班级批量添加成员
    public Team addMembers(Long teamId, List<User> userList);

    //删除班级成员
    public int delMember(Long userId);

    //批量删除班级成员
    public Team delMembers(Long teamId,List<User> userList);
}
